package com.work05.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 绛河
 * @date 2023/5/25
 * @apiNote
 */
@RestController
public class IndexController {
    @RequestMapping("/goods")
    public String goods() {
        return "查看商品列表";
    }

    @RequestMapping("/purchaser/buy")
    public String buy() {
        return "加入购物车并支付";
    }

    @RequestMapping("/admin/goods/check")
    public String goodsCheck() {
        return "审核发布商品";
    }

    @RequestMapping("/admin/shop/check")
    public String check() {
        return "审核店铺信息";
    }

    @RequestMapping("/shopkeeper/publish")
    public String publish() {
        return "店主发布商品信息";
    }
}
